<?php
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="auto" height="30" class="header14" align="center">
			CAMERA ONLINE
		</td>
	</tr>
	<tr>
		<td height="2" width="auto" style="background-image:url(images/hor-line.png)">
		</td>
	</tr>
	<tr>
		<td width="auto" class="content">
			<? 
			$listBranch = $pClsBranch->listobj();
			if($listBranch)
			{
			?>
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<?
						foreach( $listBranch as $branch)
						{
						?>
							<tr>
								<td class="header14">
									<? echo($branch->value('name'));?>
								</td>
							</tr>
							<tr>
								<td height="10">
								</td>
							</tr>
							<tr>
								<td >
									<span class="header12">Địa chỉ camera: <a href="<? echo($branch->value('camera_address'));?>" target="_blank"><? echo($branch->value('camera_address'));?></a></span><br />
									<span class="header12">Tài khoản:</span> <span style="font-style:italic"><? echo($branch->value('camera_username'));?></span><br />
									<span class="header12">Mật khẩu:</span> <span style="font-style:italic"><? echo($branch->value('camera_password'));?></span>
								</td>
							</tr>
							<tr>
								<td height="20">
								</td>
							</tr>
						<?
						} 
						?>
					</table>
				<?
				}
				?>
		</td>
	</tr>
</table>
<?	
?>